WT_DECLARE_WT_MEMBER(1,JavaScriptConstructor,"WFormWidget",function(d,a,b){jQuery.data(a,"obj",this);var c=d.WT;this.applyEmptyText=function(){if(c.hasFocus(a)){if($(a).hasClass("Wt-edit-emptyText")){if(!c.isIE&&a.oldtype)a.type=a.oldtype;$(a).removeClass("Wt-edit-emptyText");a.value=""}}else if(a.value==""){if(a.type=="password")if(c.isIE)return;else{a.oldtype="password";a.type="text"}$(a).addClass("Wt-edit-emptyText");a.value=b}else $(a).removeClass("Wt-edit-emptyText")};this.setEmptyText=function(e){b=
e;if($(a).hasClass("Wt-edit-emptyText"))a.value=b};this.applyEmptyText()});
